package com.neuedu.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private Integer price;

    private Integer sort;

    private Long categoryId;

    private Boolean status;

    private String pics;

    private Integer weight;

//    private String shopName;

    private String onlyParams;

    private String manyParams;

    private String introduction;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
}
